package com.xmy.erp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 家长能看到的商品
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-09
 */
@TableName("shopping_patriarch")
@ApiModel(value = "ShoppingPatriarch对象", description = "家长能看到的商品")
public class ShoppingPatriarch implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("商品id")
    private Long shoppingId;

    private String openid;

    private LocalDateTime createdAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getShoppingId() {
        return shoppingId;
    }

    public void setShoppingId(Long shoppingId) {
        this.shoppingId = shoppingId;
    }
    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }
    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }

    @Override
    public String toString() {
        return "ShoppingPatriarch{" +
            "id=" + id +
            ", shoppingId=" + shoppingId +
            ", openid=" + openid +
            ", createdAt=" + createdAt +
        "}";
    }
}
